package com.szxw.service.impl;

import com.szxw.mapper.UserMapper;
import com.szxw.pojo.User;
import com.szxw.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @Author: 苏执小威
 * @Email:1410511702@qq.com
 * @Desc:
 * @Date: 2022/5/18 10:39
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper mapper;

    public void setMapper(UserMapper mapper) {
        this.mapper = mapper;
    }

    @Override
    public User loginBlog(Map map) {
        return mapper.LoginBlog(map);
    }
}
